<template>
  <aside>
    <el-row :gutter="10">
      <el-col :span="2">
        <el-button type="primary" size="mini" icon="el-icon-circle-plus-outline" @click="addBtnFun">新增</el-button>
        <brand-dialog ref="addDialog" @reloadFun="reloadFun" />
      </el-col>
    </el-row>
  </aside>
</template>

<script>
import brandDialog from './brand-dialog'
export default {
  components: {
    brandDialog
  },
  data() {
    return {
    }
  },
  methods: {
    addBtnFun() {
      this.$refs.addDialog.dialogFormVisible = true
    },
    reloadFun() {
      this.$emit('reloadFun')
    }
  }
}
</script>

<style lang="scss" scoped>
//  .el-button {
//       width: 100%;
//   }
</style>
